//package cn.lx.auth.secutity.config;
//
//import org.springframework.context.annotation.Configuration;
//import org.springframework.context.annotation.Import;
//import org.springframework.session.data.redis.RedisFlushMode;
//import org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration;
//
//import java.lang.annotation.*;
//
//@Retention(RetentionPolicy.RUNTIME)
//@Target({ElementType.TYPE})
//@Documented
//@Import({RedisHttpSessionConfiguration.class})
//@Configuration
//public @interface EnableRedisHttpSession {
//    int maxInactiveIntervalInSeconds() default 1800;
//
//    String redisNamespace() default "spring:session";
//
//    RedisFlushMode redisFlushMode() default RedisFlushMode.ON_SAVE;
//
//    String cleanupCron() default "0 * * * * *";
//}
